qwer=[]
import random
for index in range(random.randint(1,10)):
    qwer.insert(index,random.randint(1,10))
print(qwer)
leng=len(qwer)
index = random.randrange(0, leng)
temp = qwer.pop(index)
#print(temp)
index1 = random.randrange(0, leng)
temp1 = qwer.pop(index1)
if temp<=temp1:
    pass
    index1 = random.randrange(0, leng)
    temp1 = qwer.pop(index1)
else :
    temp=temp1
    index1 = random.randrange(0, leng)
    temp1 = qwer.pop(index1)
print(temp)